#include <iostream>
#include "coffeeMachine.hpp"

int main()
{
	int money = 100;
	CoffeMachine coffeMachine;
	Cup *cupPtr = coffeMachine.orderCoffee(CoffeMachine::CoffeeType::latte, money);
	cupPtr->printCup();

	Cup *cupPtr2 = coffeMachine.orderCoffee(CoffeMachine::CoffeeType::capuchino, money);
	cupPtr2->printCup();

	Cup *cupPtr3 = coffeMachine.orderCoffee(CoffeMachine::CoffeeType::esspresso, money);
	cupPtr3->printCup();

	Cup *cupPtr4 = coffeMachine.orderCoffee(CoffeMachine::CoffeeType::latte, money);
	cupPtr4->printCup();
	std::cout<<coffeMachine.getStatus()<<std::endl;

	return 0;
}